package com.yanzhu.service.model.mix;

import lombok.Data;

import java.net.URLDecoder;

/**
 * @Author: 方炎柱
 * @Description:
 * @Date: Created in 13:42 2018/2/3
 * @Modified:
 */
@Data
public class LikeInfo {
    private long uid;

    // 昵称
    private String nickname;

    // 头像
    private String avatar;

    // 点赞速度
    private int speed;

    public void setNickname(String nickname) throws Exception {
        this.nickname = URLDecoder.decode(nickname, "utf-8");
    }
}
